package com.example.shopping.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;
@Entity
@Table(name = "user")
@Data
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private int uid;
    private String username;
    private String phone;
    private String password;
    private String mailingaddress;
    private String pid;
    private String ssex;
    private String hobby;

}
